import form from '@cloudpivot/form/locales/en-US';
import list from '@cloudpivot/list/locales/en-US';
import system from '@/locale/system/system.en-US';
import apps from './apps.en-US';
import appSettings from './app-settings.en-US';
import formDesign from './form-design.en-US';
import listDesign from './list-design.zh-CN';   //NOTE: 现在admin不做国际化
import integration from './integration.en-US';


// import system from '@/locale/system/system.en-US';


// import form from '@cloudpivot/form/locales/en-US';

export default {
  cloudpivot: {
    form,
    list
  },
  languages: {
    system,
    integration,
    cloudpivot: {
      form
    },
    appSettings,
    Apps: {
      ...apps,
      FormDesignPage: formDesign,
      listDesignPage: listDesign
    },
    ConsoleManager: 'ConsoleManager',
    PortalManager: 'PortalManager',
    PersonalInformation: 'PersonalInformation',
    ChangePwd: 'ChangePassword',
    OppositeLanguage: '中文',
    Exit: 'Log out',
    AppManager: 'AppManager',
    Organization: 'Organization',
    BizIntegration: 'BizIntegration',
    SystemManager: 'SystemManager',
    OrganizationRole: 'OrganizationRole',
    OrganizationSync: 'OrganizationSync',
    NoUser: 'No User',
    Ok: 'OK',
    Cancel: 'Cancel',
    DeleteSuccess: 'successfully deleted',
    PublishSuccess: 'Successfully published',
    User: {
      UserInformation: 'UserInformation',
      BaseInfo: 'BaseInformation',
      Avatar: 'Avatar',
      UserAccount: 'UserAccount',
      UserDepartment: 'UserDepartment',
      UserName: 'UserName',
      Gender: 'Gender',
      Manager: 'Manager',
      Role: 'Role',
      PersonInfo: 'PersonInfo',
      Birthday: 'Birthday',
      IdentityNumber: 'IdentityNumber',
      Contact: 'Contact',
      MobilePhone: 'MobilePhone',
      OfficePhone: 'OfficePhone',
      DingTalk: 'DingTalk',
      Email: 'Email',
      OrganizationInfo: 'OrganizationInfo',
      EmployeeNumber: 'EmployeeNumber',
      EmployeeRank: 'EmployeeRank',
      Appellation: 'Appellation',
      Secretary: 'Secretary',
      EntryDate: 'EntryDate',
      DepartureDate: 'DepartureDate',
      PartTimeDepartment: 'Part-time Department',
      SettingMainDepartment: 'SettingMainDepartment'
    },
    PlaceHolder: {
      SearchByName: 'Input name search',
      SearchByCodeOrName: 'Input name or code search',
      Select: 'Select',
      InputCode: 'Input code',
      InputName: 'Input name',
      BizType: 'Biz type',
      InputDefaultVal: 'Input default value',
      InputAppName: 'Please input app name',
      InputAppCode: 'Please input app code',
      InputFolderName: 'Please input folder name',
      Input: 'Input',
      InputRole: 'Input role name'
    },
    Password: {
      ChangePwd: 'Change password',
      OldPwd: 'Old password',
      PleaseInputOldPwd: 'Please enter the old password',
      OldPwdError: 'Input error of old password',
      PleaseInputNewPwd: 'Please enter a new password',
      SurePwd: 'Confirm password',
      InputNewPwdAgain: 'Please enter a new password again',
      SurePwdError: 'Modify password and confirm password inconsistency',
      PwdIsNullTip: 'Passwords are not allowed to be empty',
      ChangePwdSuccess: 'Password modification was successful!',
      CanNotSamePwd: 'The old password and the new password can not be the same!',
    },
    Name: 'Name',
    NO: 'No.',
    Roles: 'Roles',
    Department: 'Department',
    ManagementScope: 'Management Scope',
    Operation: 'Operation',
    WorkHandover: 'Work Handover',
    NoRelevantData: 'No relevant data is available',
    NoSearchData: 'No search results yet',
    NoRelevantDataTips: 'No relevant data is available, input again',
    ClickToLoadMore: 'Click to load more',
    LoadMore: 'loading...',
    HasLoadedAllData: 'No More',
    // 组织同步
    Synching: 'Synching',
    SynchronizeNow: 'Synchronize Now',
    Query: 'Query',
    ProcessName: 'Process Name',
    DeptOfOriginator: 'Dept.ofOriginator',
    ReceiveTime: 'Receive Time',
    TaskNode: 'Workflow Node',
    TaskTransfer: {
      TaskTransfer: 'TaskTransfer of {name}',
      WorkerFlow: 'WorkerFlow',
      BizModel: 'Business model',
      SequenceStatus: 'SequenceStatus',
      Originator: 'Originator',
      Delegatee: 'Delegatee',
      DelegateeOrg: 'Handover Dept',
      SearchWorkerFlow: 'Input workerFlow search',
      SearchByOriginator: 'Select originator search',
      SelectDelegatee: 'Select delegatee',
      Selected: 'Selected',
      TransferAll: 'Transfer the current {num} tas',
      TransferAll2: 'Transfer the current {num} items',
      TransferSelected: 'Transfer selected',
      TransferSelected2: 'Transfer selected',
      Name: 'Name',
      OwnerDept: 'OwnerDept',
      CreatedTime: 'CreatedTime',
      SchemaCode: 'SchemaCode',
      SequenceStatus: 'SequenceStatus',
      TranferTips: 'Are you sure you want to handover the current {num} task?',
      TranferTips2: 'Are you sure you want to handover the current {num} data?',
      TranferTips3: 'After the handover is completed, it can not be withdrawn. Please operate with caution',
      TranferTips4: 'Determine all data for the current user under the handover of all applications?',
    },
    Save: 'Save',
    UserAction: 'UserAction',
    BizAction: 'BizAction',
    SubInstance: 'SubInstance',
    Connection: 'Connection',
    Notify: 'Notify',
    Switch: 'Switch',
    Prompt: 'Prompt',
    Iknow: 'I Know'
  }
};
